package com.geek.pokermanager.service;

import java.util.List;

import com.geek.pokermanager.model.PokerGroup;
import com.geek.pokermanager.model.SerializableData;

public interface PokerGrupService {

	int save(PokerGroup group);
	
	int update(PokerGroup group);
	
	int delete(String id);
	
	List<PokerGroup> getGroup(String pokerStoreId);
	
	PokerGroup getGroupData(String groupId);
	/**
	 * 保存房间数据
	 * @param group
	 * @return
	 */
	int saveSerializableData(List<PokerGroup> group,String roomId);
	
	SerializableData getSerializbleData(String roomId);
}
